package com.hoshiicloud.goods.param.spu;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 新增商品表参数
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-04
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "新增商品表", description = "新增商品表")
public class BaseSpuAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    private Long companyId;

    @ApiModelProperty(value = "平台ID")
    private Long platformId;

    @ApiModelProperty(value = "门店ID")
    private Long storeId;

    @ApiModelProperty(value = "spu编号")
    private String spuNo;

    @ApiModelProperty(value = "默认图片")
    private String defaultImage;

    @ApiModelProperty(value = "商品标题")
    private String title;

    @ApiModelProperty(value = "商品副标题")
    private String subTitle;

    @ApiModelProperty(value = "商品类目 --来源于商品类目表")
    private Long categoryId;

    @ApiModelProperty(value = "商品描述")
    private String categoryDescribe;

    @ApiModelProperty(value = "品牌ID")
    private Long brandId;

    @ApiModelProperty(value = "销售单位")
    private String saleUnit;

    @ApiModelProperty(value = "包装单位")
    private String packetUnit;

    @ApiModelProperty(value = "商品重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "税率")
    private BigDecimal taxRate;

    @ApiModelProperty(value = "长度")
    private BigDecimal goodsLen;

    @ApiModelProperty(value = "宽度")
    private BigDecimal goodsWidth;

    @ApiModelProperty(value = "高度")
    private BigDecimal goodsHeight;

    @ApiModelProperty(value = "内件数")
    private BigDecimal innerBoxs;

    @ApiModelProperty(value = "外箱数")
    private BigDecimal outerBoxs;

    @ApiModelProperty(value = "采购地")
    private String poAddress;

    @ApiModelProperty(value = "来源 1-内地 2-跨境商品")
    private Integer source;

    @ApiModelProperty(value = "属性")
    private String extendProperty;

    @ApiModelProperty(value = "规格")
    private String extendSpec;

    @ApiModelProperty(value = "状态  0-档案 1-已审批 2-下架")
    private Integer status;

    @ApiModelProperty(value = "1-公有 2-私有")
    private Integer published;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "采购类型 1国内 2跨境")
    private Integer purchaseType;

    @ApiModelProperty(value = "商品类型 1-实物 2-服务")
    private Integer productType;

    @ApiModelProperty(value = "类目内容")
    private String categoryContext;

}
